PaymentPlugins\WooCommerce\PPCP\Payments\Gateways\PayPalGateway S

Total Complexity 43
Dependencies 3
Dependents 2
Total lines 606
Lines of code 538
Logical lines of code 75
Comment lines 23
Methods 20
Properties 4

Methods 20

Method Rating Maintainability Complexity Lines of code
init_form_fields()
C
21
7 320
get_product_form_fields()
A
44 6 48
get_payment_method_data()
S
42 4 56
add_query_params()
S
60 4 14
get_payment_section_options()
S
57 3 16
is_show_popup_icon_enabled()
S
71 3 5
get_order_button_text()
S
68 2 7
get_checkout_script_handles()
S
69 2 7
get_admin_script_dependencies()
S
59 1 14
is_place_order_button()
S
78 1 3
validate_fields()
S
91 1 2
__construct()
S
65 1 8
is_product_section_enabled()
S
65 1 9
init_hooks()
S
71 1 5
express_checkout_fields()
S
83 1 5
get_product_script_handles()
S
76 1 4
get_minicart_script_handles()
S
76 1 4
get_cart_script_handles()
S
76 1 4
get_express_checkout_script_handles()
S
76 1 4
get_funding_types()
S
79 1 3